package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qf.entity.page.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author ljw
 * @version 1.0
 * @Date 2024/12/2 15:11
 */
@Data
public class BaseEntity extends PageParam {
    @Schema(description = "创建者")
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "更新者")
    private String updateBy;
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
